package aa.jx.order.service;

import aa.jx.order.model.PaymentInfo;

public interface PaymentService {
    PaymentInfo createPayment(Long orderId);
    void processPayment(Long paymentId, boolean success);
    PaymentInfo getPaymentInfo(Long paymentId);
    PaymentInfo getPaymentByOrderId(Long orderId);
    void cancelPayment(Long paymentId);
}